﻿//**********************************************************************//
//  Name: Form2                                                         //
//  Description: The form that is created for the options menu          //
//  Author: Scott Duntley (sdd2857@rit.edu)                             //
//**********************************************************************//

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form2 : Form
    {
        //***********************************************************************
        //  Name: Form2
        //  Description: Form constructor
        //  Author: Scott Duntley (sdd2857@rit.edu) 
        //***********************************************************************
        public Form2()
        {
            InitializeComponent();
        }

        //***********************************************************************
        //  Name: browseButton_Click
        //  Description: Called when the browse button is clicked
        //  Parameters: none
        //  Returns: none
        //  Author: Scott Duntley (sdd2857@rit.edu)
        //***********************************************************************
        private void browseButton_Click(object sender, EventArgs e)
        {
            if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
            {
                imageCaptureLocationTextBox.Text = folderBrowserDialog1.SelectedPath;
            }
        }

        //***********************************************************************
        //  Name: saveButton_Click
        //  Description: Called when the save button is clicked
        //  Parameters: none
        //  Author: Scott Duntley (sdd2857@rit.edu)
        //***********************************************************************
        private void saveButton_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Hide();
        }

        private void Form2_Load(object sender, EventArgs e)
        {

        }
    }
}
